#include "main.h"


void main(void)
{
    int_init();
    imx6ull_clk_init();
    clk_enable();
    led_init();
    beep_init();
    key_init();
    exit_init();
    //epit_init(0, 660000);
    gpt_delay_init();
    
    static uint8_t beep_state = 0;

    while (1)
    {
        beep_state = !beep_state;
        led_switch(beep_state);
        delay_s(1);
    }
}
